package com.xjm.resource;

import org.springframework.core.io.ClassPathResource;

/**
 * @author jaymin
 * 2020/12/12 17:40
 */
public class ClassPathResourceDemo {
	public static void main(String[] args)  {
		ClassPathResource classPathResource = new ClassPathResource("spring-config.xml");
		System.out.println(classPathResource.getFilename());
		System.out.println(classPathResource.getDescription());
		System.out.println(classPathResource.getPath());
	}
}
